package com.zys.el.search.po;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@Document(indexName = "note_el", shards = 1, replicas = 0)
@Builder
public class Anticle {

    @Id
    private Long noteId;//
    private Long authorId;
    private String userName;
    private String userImage;
    private String content;
    private String item;
    private String introduction;
}